package com.minglead.springboot.common.config;

import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.core.io.DefaultResourceLoader;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.minglead.springboot.common.utils.PropertiesLoader;
import com.minglead.springboot.common.utils.StringUtils;

/**
 * 全局配置类
 */
@Component
@ConfigurationProperties(prefix = "server")  // 配置文件中的前缀
public class Application {
	private String port;	
}
